const PREFIX = process.env.VUE_APP_API_URL_WUTING;

const knowledgeMap = {
  // getEntityFileTempJson: PREFIX + "/api/file/getEntityFileTempJson", // 实体属性图片、视频上传
  graphDownloadTemplate: PREFIX + "/graphExportImport/getEntityFileTempFile", // 图谱管理 下载模板
  uploadEntityPropertyFile: PREFIX + "/api/uploadEntityPropertyFile", // 实体属性图片、视频上传
  ontologyProperty: PREFIX + "/entity/ontology/property", // 获取本体属性
  exportEntity: PREFIX + "/graphExportImport/exportEntity", // 实体导出
  propertyShow: PREFIX + "/entity/property/show", // 实体导出
  getMapList: PREFIX + "/GraphManage/graphList", // 图谱管理列表
  // getMapList: "http://192.168.31.80:19093" + "/GraphManage/graphList", // 图谱管理列表
  getAllMap: PREFIX + "/GraphManage/allGraphData", // 全部图谱列表
  setStatus: PREFIX + "/GraphManage/graphIfAble", // 设置图谱状态
  getEntity: PREFIX + "/GraphManage/noumenonSearch", // 本体名称查询
  addGraph: PREFIX + "/GraphManage/createGraph", // 创建图谱
  editGraph: PREFIX + "/GraphManage/graphEdit", // 编辑图谱
  deleteGraph: PREFIX + "/GraphManage/deleteGraph", // 删除图谱

  getEntityList: PREFIX + "/entity/list", // 实体管理列表页
  setEntityStatus: PREFIX + "/entity/enable", // 设置实体状态
  addEntity: PREFIX + "/entity/addEntity", // 新增实体
  mapTree: PREFIX + "/GraphManage/typeList", // 树状所属类别
  entityDetail: PREFIX + "/entity/detail",
  updateEntity: PREFIX + "/entity/updateEntity", // 更新实体
  // relationList: PREFIX + "/entityRelation/listRelation", // 关系管理列表
  relationList: PREFIX + "/kgEntityRelation/listRelation", // 关系管理列表
  // setrelationStatus: PREFIX + "/entityRelation/ifEnableRelation", // 关系的启禁用
  disableRelation: PREFIX + "/kgEntityRelation/disableRelation", // 关系的启禁用
  // addRelation: PREFIX + "/entityRelation/addRelation", // 新增关系
  addKgEntityRelation: PREFIX + "/kgEntityRelation/addKgEntityRelation", // 新增关系
  updateRelation: PREFIX + "/kgEntityRelation/updateRelation", // 编辑关系
  // listRelationProperty: PREFIX + "/entityRelation/listRelationProperty", // 变属性
  delRelation: PREFIX + "/entityRelation/delRelation",
  uploadUrl: PREFIX + "/entity/upload", // 图片上传接口
  // entityRelation: PREFIX + "/entityRelation/detail", // 关系详情
  getRelationPropertyDetail:
    PREFIX + "/kgEntityRelation/getRelationPropertyDetail", // 关系详情
  getSourceFile: PREFIX + "/kgEntityRelation/getSourceFile", // 编辑关系详情
  // updateRelation: PREFIX + "/entityRelation/updateRelation", // 编辑关系详情
  addRelationProperty: PREFIX + "/kgEntityRelation/addRelationProperty", // 编辑关系详情
  // deleteRelation: PREFIX + "/entityRelation/ifEnableRelation",
  deleteRelation: PREFIX + "/kgEntityRelation/deleteRelation", // 可视化删除连线
  // getEntityType: PREFIX + "/entity/getEntityType", // 筛选实体类别
  getEntityType: PREFIX + "/entity/getOntologyByProjectId", // 筛选实体类别
  // getRelationType: PREFIX + "/entity/getRelationType", // 筛选关系类别
  getRelationType: PREFIX + "/entity/getRelationTypeNew", // 筛选关系类别
  getRelationStyle: PREFIX + "/entity/getRelationStyle", // 筛选关系类别(配置模块的数据)
  filterGraph: PREFIX + "/entity/filterGraph", // 筛选画布的节点边
  getAllEvents: PREFIX + "/events/getAllEventList", // 关键对象和事件列表
  getAllEventType: PREFIX + "/eventsType/getAllEventType", // 事件分类
  getSubjects: PREFIX + "/events/searchSubject", // 所属专题
  updateEvent: PREFIX + "/events/updateEvent",
  getAllData: PREFIX + "/entity/getAllData", // 事件启用禁用
  getSearch: PREFIX + "/entity/search", // 实体加入搜索接口
  joinAnalysis: PREFIX + "/entity/joinAnalysis", // 实体添加接口
  positionNode: PREFIX + "/entity/positionNode", // 图谱中的节点定位
  deleteNode: PREFIX + "/entity/enable", // 图谱中的节点定位
  // getEntityHeadOrTail: PREFIX + "/entityRelation/getEntityByProjectId", // 获取头实体尾实体
  getEntityListByProjectId:
    PREFIX + "/kgEntityRelation/getEntityListByProjectId", // 获取头实体尾实体
  getPublicRelationList: PREFIX + "/kgEntityRelation/getPublicRelationList", // 获取共有关系选项
  getProperty: PREFIX + "/entity/getProperty", // 查看实体的属性
  getRelationByOntologyId: PREFIX + "/entityRelation/getRelationByOntologyId", // 通过头实体获取关系
  getPropertyByRelationId: PREFIX + "/entityRelation/getPropertyByRelationId", // 通过关系获取关系对应的属性
  getEntityByRelationId: PREFIX + "/entityRelation/getEntityByRelationId",
  bathSaveEntityColor: PREFIX + "/entity/bathSaveEntityColor", // 批量修改实体颜色配置
  bathSaveRelationColor: PREFIX + "/entity/bathSaveRelationColor", // 批量修改关系颜色配置
  downLoadFileUrl: PREFIX + "/api/file/downLoad",
  expandGraph: PREFIX + "/entity/expandGraph",
  getEntityFileTempFile: PREFIX + "/api/file/getEntityFileTempFile", // 下载模板
  importKgEntityRelationById:
    PREFIX + "/graphExportImport/importKgEntityRelationById", //导入
  downloadSourceFile: PREFIX + "/api/common/downLoad",
  undo: PREFIX + "/GraphManage/undo", // 撤销操作
  clearGraph: PREFIX + "/GraphManage/clearGraph", // 清空画布
  getRelationList: PREFIX + "/entity/getRelationList", // 用于知识管理模块——>关系管理
  uploadRelationPropertyFile: PREFIX + "/api/uploadRelationPropertyFile", // 关系属性图片、视频上传
  deleteRelationProperty: PREFIX + "/kgEntityRelation/deleteRelationProperty", // 删除关系属性
};
export default knowledgeMap;
